package util;

import java.text.DecimalFormat;
import java.util.Calendar;
import java.util.Date;

public class AppUtil {
	
	public static Date getCurrentTime(){
		Calendar calendar = Calendar.getInstance();
		return calendar.getTime();
	}

	
	public static double formatDecimal(double value){
		DecimalFormat df = new DecimalFormat("#.##");		
		return Double.valueOf(df.format(value*100));
	}
}
